﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>InputType说明</title>
    <meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">

    <!-- 引入代码块样式 -->
    <link rel="stylesheet" href="https://gitee.com/actor20170211030627/HtmlTest/raw/main/css/code_black.css"/>
    <!-- 引入表格样式 -->
    <link rel="stylesheet" href="https://gitee.com/actor20170211030627/HtmlTest/raw/main/css/table_style.css" />

    <!-- 给 table 第1列自动排序号, <table class="num_auto_increase" -->
<!--    <script type="text/javascript" src="https://gitee.com/actor20170211030627/HtmlTest/raw/main/js/table_num_auto_increase.js"></script>-->
</head>
<body>
    <h2>InputType说明</h2>
<table class="num_auto_increase">
    <tr>
        <th>№</th>
        <th>android:inputType</th>
        <th>说明</th>
        <th>默认键盘</th>
        <th>一直输入</th>
        <th>回车</th>
    </tr>
    <tr>
        <td>1</td>
        <td>none</td>
        <td></td>
        <td>中英文</td>
        <td>换行</td>
        <td>换行</td>
    </tr>
    <tr>
        <td>2</td>
        <td>text</td>
        <td></td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>3</td>
        <td>textCapCharacters</td>
        <td>字母大写(谷歌模拟器&英文输入时)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>4</td>
        <td>textCapWords</td>
        <td>单词首字母大写(谷歌模拟器&英文输入时)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>5</td>
        <td>textCapSentences</td>
        <td>句子第1个字母大写(谷歌模拟器&英文输入时)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>6</td>
        <td>textAutoCorrect</td>
        <td>自动补全(谷歌模拟器&英文输入时)<br />
            <font color='red'>studen</font> +
            <p style="display: inline-block; color: white; background-color: red;">&nbsp;</p> -> student</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>7</td>
        <td>textAutoComplete</td>
        <td>自动完成(<mark>作用未知</mark>)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>8</td>
        <td>textMultiLine</td>
        <td>多行输入</td>
        <td>中英文</td>
        <td>换行</td>
        <td>换行</td>
    </tr>
    <tr>
        <td>9</td>
        <td>textImeMultiLine</td>
        <td>输入法多行(<mark>作用未知</mark>)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>10</td>
        <td>textNoSuggestions</td>
        <td>不提示(<mark>作用未知</mark>)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>11</td>
        <td>textUri</td>
        <td>Uri格式(下方有 /&amp;. )</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>12</td>
        <td>textEmailAddress</td>
        <td>电子邮件地址(下方有 @&amp;. )</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>13</td>
        <td>textEmailSubject</td>
        <td>邮件主题<br />(谷歌模拟器&英文输入时: 自动补全)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>14</td>
        <td>textShortMessage</td>
        <td>短消息信息模式<br />(谷歌模拟器&英文输入时: 自动补全)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>15</td>
        <td>textLongMessage</td>
        <td>长消息信息模式</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>16</td>
        <td>textPersonName</td>
        <td>人名(谷歌模拟器&英文输入时有提示)</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>17</td>
        <td>textPostalAddress</td>
        <td>邮寄地址</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>18</td>
        <td>textPassword</td>
        <td>密码(输入后变成黑点)</td>
        <td>英文(数字,符号)</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>19</td>
        <td>textVisiblePassword</td>
        <td>可见密码</td>
        <td>英文(数字,符号)</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>20</td>
        <td>textWebEditText</td>
        <td>Web表单格式</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>21</td>
        <td>textFilter</td>
        <td>文本筛选过滤</td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>22</td>
        <td>textPhonetic</td>
        <td>拼音输入<font color="red">?</font></td>
        <td>中英文</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>

    <tr>
        <th></th>
        <th>数值类型</th>
        <th></th>
        <th></th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>1</td>
        <td>number</td>
        <td>纯数字(谷歌模拟器: <font color='red'>0123456789</font>)</td>
        <td>数字</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>2</td>
        <td>numberSigned</td>
        <td>带符号数字(谷歌模拟器: <font color='red'>+-0123456789</font>)</td>
        <td>数字</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>3</td>
        <td>numberDecimal</td>
        <td>+浮点数(谷歌模拟器: <font color='red'>.0123456789</font>)</td>
        <td>数字</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>4</td>
        <td>phone</td>
        <td>拨号键盘(谷歌模拟器: <font color='red'>0123456789.- (/)N,*;#+</font>)</td>
        <td>数字</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>5</td>
        <td>datetime</td>
        <td>时间&amp;日期(谷歌模拟器: <font color='red'>0123456789/:-am pm</font>)</td>
        <td>数字</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>6</td>
        <td>date</td>
        <td>日期(谷歌模拟器: <font color='red'>0123456789/.-</font>)</td>
        <td>数字</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>7</td>
        <td>time</td>
        <td>时间(谷歌模拟器: <font color='red'>0123456789:ampm</font>)</td>
        <td>数字</td>
        <td>不换行</td>
        <td>下一个输入框</td>
    </tr>

    <tr>
        <th></th>
        <th>小写英文键盘</th>
        <th>(谷歌模拟器: 键盘默认是中英文)<br />(国内的键盘才可能是小写英文)</th>
        <th></th>
        <th></th>
        <th></th>
    </tr>
    <tr>
        <td>1</td>
        <td>textUri|textMultiLine</td>
        <td></td>
        <td>中英文</td>
        <td>换行</td>
        <td>换行</td>
    </tr>
    <tr>
        <td>2</td>
        <td>textEmailSubject|textMultiLine</td>
        <td>可输入中英文</td>
        <td>英文(小写)</td>
        <td>换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>3</td>
        <td>textEmailAddress|textMultiLine</td>
        <td>可输入中英文</td>
        <td>英文(小写)</td>
        <td>换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>4</td>
        <td>textUri|textEmailAddress|textMultiLine</td>
        <td>可输入中英文</td>
        <td>英文(小写)</td>
        <td>换行</td>
        <td>下一个输入框</td>
    </tr>
    <tr>
        <td>5</td>
        <td>textUri|textEmailSubject|textMultiLine</td>
        <td>可输入中英文</td>
        <td>英文(小写)</td>
        <td>换行</td>
        <td>下一个输入框</td>
    </tr>
</table>
</body>
</html>